package org.leepood.phonelock;

import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class lockActivity extends Activity {
	private Button btn_ok;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.lockactivity);
		String packagename=this.getIntent().getExtras().getString("packagename");
		
		btn_ok=(Button) this.findViewById(R.id.btn_ok);
		btn_ok.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				lockActivity.this.finish();
				
			}
		});
	}
	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		if(keyCode==event.KEYCODE_BACK)
		{
			return false;
		}
		else	
		{
		return super.onKeyDown(keyCode, event);
		}
	}

	
	

	
	
	
	
	
	
	
	
	
	
}
